package com.example.controller.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
@Data
public class ProductAddVo {
    @ApiModelProperty(value = "商品名")
    private String name;

    @ApiModelProperty(value = "商品的简介")
    private String detail;

    @ApiModelProperty(value = "商品封面的列表")
    private String coverList;

    @ApiModelProperty(value = "新旧程度")
    private Integer oldLevel;

    @ApiModelProperty(value = "所属商品分类的ID")
    private Integer categoryId;

    @ApiModelProperty(value = "发布者用户名")
    private String userName;

    @ApiModelProperty(value = "库存")
    private Integer inventory;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "是否支持砍价")
    private Boolean isBargain;

}
